<div id="sidebar">
	<a href="/"><img src="/static/themes/nipao/images/logo.png" id="logo" alt="远行志-项剑锋的个人博客" title="项剑锋的个人博客" /></a>
	<div class="clear"></div>
	<ul id="nav">
		<li><a href="/">HOME</a></li>
		<li><a target="_blank" href="http://www.nipao.com">NIPAO SHOP</a></li>
		<li><a href="/top">TOP</a></li>
		<li><a href="/archive">ARCHIVE</a></li>
		<li><a href="/yuntongbu">YUNTONGBU</a></li>	
		{% for page in pages %}
		<li><a href="/{{ page.title_url }}">{{ page.title|upper }}</a></li>
		{% endfor %}
		<li><a target="_blank" href="http://go.nipao.com/bar">BAIDU BAR</a></li>		
		<li><a target="_blank" href="http://www.zhanglina.com">NANA</a></li>
	</ul>
	<div id="social_links">
		<p>Keep up to date with my<br /> Google, Weibo & Photos</p>
		<a href="http://www.google.com/reader/shared/nipao.com" target="_blank" id="google-reader">Google Reader</a><a href="http://weibo.com/nipao" target="_blank" id="sinaweibo">新浪微博</a><a href="http://t.qq.com/xiangjianfeng" target="_blank" id="qqweibo">腾讯微博</a><a id="twitter" href="http://twitter.com/nipao" target="_blank">Twitter</a><a href="http://facebook.com/nipao" target="_blank" id="facebook">Facebook</a>
	</div>
	<div id="search"></div>
		<script src="//www.google.com/jsapi" type="text/javascript"></script>
		<script type="text/javascript"> 
		  google.load('search', '1', {language : 'zh-CN'});
		  google.setOnLoadCallback(function() {
			var customSearchControl = new google.search.CustomSearchControl('015730206897953320857:xhb-qd07npa');
			customSearchControl.setResultSetSize(google.search.Search.LARGE_RESULTSET);
			var options = new google.search.DrawOptions();
			options.enableSearchboxOnly("http://blog.xiangjianfeng.com/search", "key");
			customSearchControl.draw('search', options);
		  }, true);
		</script>
		<style type="text/css">
			input.gsc-input{border:none; border:1px #eff4f8 solid; border-top:1px #c3c5c9 solid; padding:2px 5px; color:#bbb; text-align:right; width:150px;}
		</style>
	<div id="quicklinks">
		<a id="home" href="/">Home</a><a id="mobile" href="/m">Mobile</a><a id="rss" target="_blank" href="http://feeds.nipao.com/nipao">Rss</a>            </div>
</div>